﻿// owner 蒋家伟

#pragma once
#include "IArgs.h"
#include "DataSchema_home.h"
#include "ElementNotifyUtils.h"

namespace jsdk
{
    class IDocument;
    class DATASCHEMA_EXPORT IElementChangedEventArgs : public IArgs
    {
        DEFINE_DRIVER_FROM(IElementChangedEventArgs, IArgs)
    public:
        virtual ~IElementChangedEventArgs() {}

        /// \ brief 获取ElementId与Elementchanged的映射表
        /// \ return 映射表
        virtual const ChangedStatusUMap& getChangedMaps() const = 0;

        /// \ brief 获取当前变化对象所在的文档指针
        /// \ return 文档指针
        virtual const IDocument* getDocument() const = 0;
    };
}
